<{include file="section/admin/admin_header.tpl"}>
<{include file="admin/welcome/js.tpl"}>
<script type="text/javascript">
var passport = new Passport();
</script>
<body class="admin_bg">
	<div class="loginBox clear">
    	<div class="l">
        	<div class="focus_logo"><img src="http://cms.f.itc.cn/upload/ihome/images/focus_logo.gif" alt="搜狐焦点" title="搜狐焦点" /></div>
            <div><img src="http://cms.f.itc.cn/upload/ihome/images/bg04.gif" alt="装修网运营管理后台" /></div>
        </div>
        <p class="errormsg" id="errormsg" style="display: none; padding: 1em; border: 1px solid #D99; background-color: #FEE; margin: 0.5em; line-height: 1.5em; "></p>


     	<{if isset($user_info) }>
			<script>window.location.href="http://<{$sub_domain}>/user/"</script>
			<p>欢迎 <b><{$user_info.nickname}></b>，<a href="javascript: logout()">退出</a></p>
		<{else}>
		<div class="r">
		
     <form name="login" id="login_from" method="POST" action="" onsubmit="return passport.login(this, '<{$return_url}>')"> 
		<input type="hidden" name="pwdtype" value="0"/>
		<input type="hidden" name="persistentcookie" value="1"/>
		<input type="hidden" name="appid" value="1028"/>
		<input type="hidden" name="ru" value="/passport/login_ru.php?member_ru=$return_url" />
    
	            <div class="loginDiv">
            	<ul class="clear">
                <li class="i1">用户账号：</li>
                <li>
                	<div><input input name="userid" type="text" value="<{$login_prompt}>" title="<{$login_prompt}>" onClick="if (this.value == this.title) this.value='';" onblur="passport.check_login_userid(this)" class="loginInput" /></div>
                    <p class="wt" id="check_login_userid" style="display:none;">推荐使用邮箱帐号，如：chen@sohu.com</p></li>
                </ul>
                <ul class="clear">
                <li class="i1">用户密码：</li>
                <li><input name="password"  type="password" value="" onblur="passport.check_login_passwd(this)" class="loginInput" />
					<p class="wt" id="check_login_passwd" style="display:none;"></p>
				</li>
                </ul>
                <ul class="clear">
                <li class="i1">&nbsp;</li>
                <li class="grey"><input name="" type="checkbox" value="" /> 记住登录状态</li>
                </ul>
                <ul class="clear">
                <li class="i1">&nbsp;</li>
                <li><input type="submit" class="loginBtn" name="submit" class="dl" value="登录"/>
</li>
                </ul>
                <ul class="clear">
                <li class="i1">&nbsp;</li>
                <li>
				<a href="http://passport.sohu.com/web/recoverpwd" target="_blank">忘记密码？</a></li>
                </ul>
            </div>
	</form>
        </div>
		<{/if}>
    </div>
</body>
<{include file="section/admin/admin_footer.tpl"}>
